﻿Class Globals

    Public Const kApplicationName As String = "UnScripter"

    Public Const kDefaultExplorer As String = "C:\Windows\explorer.exe"
    Public Const kDefaultEditor As String = "C:\Windows\notepad.exe"
    Public Const kDefaultTerminal As String = "\scripts\cmd_udk.bat"

    Public Const kUseFileTree As Boolean = True

    ' Project restart is required for the changing of any of these variables!
    Public Const kProjectFileRegex As String = "^*\.uc$"
    Public Const kDefaultUDKFolder As String = "C:\UDK\UDK-2010-07\"

    Public Shared kDefaultUDKDevelopmentFolder As String = kDefaultUDKFolder + "Development\Src\"

    Public Shared Settings As Settings
    Public Shared EditorSettings As Settings
    Public Shared UISettings As Settings

    Public Shared Property ExecuteStandaloneOnBuildFinished As Boolean = False
    Public Shared Property Compiler As New Build.Compile
    Public Shared Property Run As New Build.Run

    Private Shared _currentproject As Project.Project
    Public Shared Property CurrentProject As Project.Project
        Get
            Return _currentproject
        End Get
        Set(ByVal value As Project.Project)
            _currentproject = value
            ProjectManager.ChangeProject(_currentproject)
        End Set
    End Property

End Class

